home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
doom
/
turric03.zip
/
TURRIC03.ZIP
/
PROGS
/
M-HUMAN.QC
< prev
next >
Wrap
Text File
|
1997-01-30
|
1KB
|
49 lines
void() player_human_become = {
//** PATCH_BEGIN - morph2 - Turrican ****
// bprint(self.netname);
// bprint(" has become a human.\n");
sprint( self, "You have become a human.\n");
// Stop the morph from flying.
if (self.flags & FL_FLY)
{
localcmd("fly");
self.flags = self.flags - FL_FLY;
}
self._die = SUB_Null;
//** PATCH_END - morph2 - Turrican ******
self._stand=SUB_Null;
self._run=SUB_Null;
self._pain=SUB_Null;
self._jump=SUB_Null;
self._jump2=SUB_Null;
self._attack=SUB_Null;
self._impulse=SUB_Null;
self.health = self.health * 1.0 / self.health_modifier;
self.health_modifier = 1.0;
self._can_get_p=SUB_True;
self._killmsg=SUB_Null;
self._killmsg2=SUB_Null;
setmodel(self,"progs/player.mdl");
self.weapon = W_BestWeapon ();
W_SetCurrentAmmo ();
self.modelindex_morph=self.modelindex;
setsize (self, VEC_HULL_MIN, VEC_HULL_MAX);
self.view_ofs = '0 0 22';
makevectors(self.v_angle);
spawn_tfog(self.origin + 20 * v_forward);
//** PATCH_BEGIN - morph2 - Turrican ****
// Restore player colors.
if (self.colormap == 0)
{
self.colormap = self.temp_colormap;
}
// Restore player skin.
if (self.skin == 0)
{
self.skin = self.temp_skin;
}
//** PATCH_END - morph2 - Turrican ******
};